﻿#if UnitTest
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;

namespace Vbyte.SharpOrm.UnitTest
{
    /*
     Castle Windsor and default component

     <component
        id="NullCache"
        service="xxx.ICache, xxx"
        type="xxx.Cache.Nullcache, xxx"
        lifestyle="Singleton">
    </component>

    <component
        id="PermanentCacheOnDb"
        service="xxx.Cache.ICache, xxx"
        type="xxx.Cache.FullDatabaseCache, xxx"
        lifestyle="Singleton">
        <parameters>
            <connectionString>Database=Test;Server=localhost\sql2005;Integrated Security=SSPI</connectionString>
        </parameters>
    </component>

    <component
        id="Downloader"
        service="xxx.IPageDownloader, xxx"
        type="xxx.PageDownloaderAsyNoFlood, xxx"
        lifestyle="Transient">
        <parameters>
            <Cache>${PermanentCacheOnDb}</Cache>
        </parameters>
    </component>

    <component
        id="NullCache"
        service="xxx.ICache, xxx"
        type="xxx.Cache.Nullcache, xxx"
        lifestyle="Singleton"
        default="true">
    </component>

     */
    [TestFixture]
    public class Component
    {

    }
}
#endif